var\cache\dev\ContainerSv7zlUk\getSecurity_Authentication_Listener_Form_CustomerService.php line 41

Open in your IDE?
  1. <?php
  2. namespace ContainerSv7zlUk;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSecurity_Authentication_Listener_Form_CustomerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.authentication.listener.form.customer' shared service.
  12.      *
  13.      * @return \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener
  14.      *
  15.      * @deprecated Since symfony/security-bundle 5.3: The "security.authentication.listener.form.customer" service is deprecated, use the new authenticator system instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('symfony/security-bundle''5.3''The "security.authentication.listener.form.customer" service is deprecated, use the new authenticator system instead.');
  20.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'AuthenticationSuccessHandlerInterface.php';
  21.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Util'.\DIRECTORY_SEPARATOR.'TargetPathTrait.php';
  22.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'DefaultAuthenticationSuccessHandler.php';
  23.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'AuthenticationFailureHandlerInterface.php';
  24.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'DefaultAuthenticationFailureHandler.php';
  25.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Session'.\DIRECTORY_SEPARATOR.'SessionAuthenticationStrategyInterface.php';
  26.         include_once \dirname(__DIR__4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Session'.\DIRECTORY_SEPARATOR.'SessionAuthenticationStrategy.php';
  27.         $a = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
  28.         $b = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($a, [], ($container->privates['monolog.logger'] ?? $container->getMonolog_LoggerService()));
  29.         $b->setOptions(['use_referer' => true'login_path' => 'helpdesk_customer_login''default_target_path' => 'helpdesk_customer_ticket_collection''always_use_default_target_path' => true'target_path_parameter' => '_target_path']);
  30.         $b->setFirewallName('customer');
  31.         $c = ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService'));
  32.         $d = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler(($container->services['http_kernel'] ?? $container->getHttpKernelService()), $a, [], $c);
  33.         $d->setOptions(['login_path' => 'helpdesk_customer_login''failure_path' => NULL'failure_forward' => false'failure_path_parameter' => '_failure_path']);
  34.         return $container->privates['security.authentication.listener.form.customer'] = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), ($container->privates['security.authentication.manager'] ?? $container->load('getSecurity_Authentication_ManagerService')), ($container->privates['security.authentication.session_strategy'] ?? ($container->privates['security.authentication.session_strategy'] = new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'))), $a'customer'$b$d, ['login_path' => 'helpdesk_customer_login''check_path' => 'helpdesk_customer_login''use_forward' => false'require_previous_session' => false'username_parameter' => '_username''password_parameter' => '_password''csrf_parameter' => '_csrf_token''csrf_token_id' => 'authenticate''enable_csrf' => false'post_only' => true'form_only' => false], $c, ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()), NULL);
  35.     }
  36. }